package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "offline_msg")
public class OffLineMsg extends BaseEntity implements Serializable {
    /** 编号 */
    @TableId(type = IdType.NONE)  //雪花算法
    private Long id;

    private Long sendUserId;

    private Long recUserId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    private String title;

    private String context;

    private String recStatus;

}
